package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;
import com.yuncheng.spcyApi.mapper.DictItemMapper;
import com.yuncheng.spcyApi.service.IDictItemService;
import com.yuncheng.spcyApi.vo.common.DictItemVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DictItemServiceImpl extends BaseServiceImpl<DictItemMapper, DictItemVo> implements IDictItemService {

    @Resource
    private DictItemMapper dictItemMapper;

    @Override
    public List<DictItemVo> getDictItemByName(String dictName) {
        return dictItemMapper.getDictItemByName(dictName);
    }
}
